#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#pragma once

#include "databasemanager.h"
#include "work_window.h"
#include <QSqlDatabase>
#include <QSqlQuery>
#include <QMainWindow>
#include <QVBoxLayout>
#include <QCloseEvent>


QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
}
QT_END_NAMESPACE


class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();
    Work_Window *work_window;
    void closeEvent(QCloseEvent *event);

private:
    Ui::MainWindow *ui;

private slots:
    void btn_try_Login();
    void btn_description();
    void btn_exit();
};
#endif // MAINWINDOW_H
